package com.ld.security.auth.common.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.base.column.MapJson;
import com.ld.security.common.mybatis.anno.LabelKeys;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.LabelMap;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("sys_role_dep_rel")
@ApiModel("角色部门关联")
@Data
public class SysRoleDepRelEntity  extends SuperEntity implements LabelMap
{




  @LabelKeys(value = SysRoleEntity.class)
  @ApiModelProperty("角色编号")
  @SqlKey(SqlCondition.like)
  private String roleId;







  @ApiModelProperty("虚拟列")
  @SqlKey(SqlCondition.like)
  private MapJson labelMap;



  @LabelKeys(value = SysDepEntity.class)
  @ApiModelProperty("部门编号")
  @SqlKey(SqlCondition.like)
  private String depId;



        }
